package com.taotao.tools.validate.annotations;

import com.taotao.tools.validate.iface.UnionFieldValidator;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface UnionConstraint {
    Class<? extends UnionFieldValidator<?>>[] validatedBy();
}
